﻿using System.Windows;
using KinonekoSoftware.Foundation.UI.Controls.Selectors;

namespace KinonekoSoftware.ArkSpark.Controls
{
    public class DocumentPreviewer : ForestListBox
    {
        
        protected sealed override DependencyObject GetContainerForItemOverride()
        {
            return new DocumentEditorPreviewItem();
        }

        protected override bool IsItemItsOwnContainerOverride(object item)
        {
            return item is DocumentEditorPreviewItem;
        }
    }
}